/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.qframe.client.util;

import com.google.gwt.core.client.GWT;

/**
 *
 * @author gprasad
 */
public class Log {

    private static final boolean GWTLOG_ENABLED = true;

    public static void out(Object obj) {
        out(obj, null);
    }
    //private static f

    public static void out(Object obj, Throwable th) {
        if (GWTLOG_ENABLED) {
            GWT.log(obj.toString(), th);
        }
    }
}
